/**
 * 该文件通过脚本自动生成，请不要手动修改该文件
 * 生成时间：2022-7-7 14:25:56:162
 **/
export default class tuzi {
  constructor(request) {
    this.request = request;
  }

  /**
   * 添加分类
   * @param {string} pid - pid
   * @param {string} type - type
   */
  post_tuzi_addFl(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/addFl",
      method: "post",
      params: params,
    });
  }

  /**
   * 添加控规图例,控规调用
   * @param {} * map - map
   * @param {} undefined -
   */
  post_tuzi_addKgTuli(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/addKgTuli",
      method: "post",
      params: params,
    });
  }

  /**
   * 添加图例,非控规调用
   * @param {} map - 格式{"wjbm":"sdf","configCondition":"RD","tuliList":[{"configItem":"sdfs","color":"#345345"}]}
   */
  post_tuzi_addTuli(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/addTuli",
      method: "post",
      params: params,
    });
  }

  /**
   * 删除分类
   * @param {string} id - id
   */
  post_tuzi_deleteFl(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/deleteFl",
      method: "post",
      params: params,
    });
  }

  /**
   * 删除图资矢量文件
   * @param {ref} wjbm - wjbm
   * @param {string} ssdw - ssdw
   */
  post_tuzi_deleteTuzi(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/deleteTuzi",
      method: "post",
      params: params,
    });
  }

  /**
   * 发布文件
   * @param {string} flbm - flbm
   * @param {string} wjbm - wjbm
   * @param {ref} wjzt - wjzt
   */
  post_tuzi_fabuWj(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/fabuWj",
      method: "post",
      params: params,
    });
  }

  /**
   * 获取预添加图例左侧类型,非控规调用
   * @param {string} ssfl - ssfl
   * @param {string} wjbm - wjbm
   * @param {string} ssdw - ssdw
   */
  get_tuzi_getBeforeTuli(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getBeforeTuli",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取预添加图例对应的类型值,非控规调用
   * @param {string} wjbm - wjbm
   * @param {string} name - name
   */
  get_tuzi_getBeforeTuliValue(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getBeforeTuliValue",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取坐标系
   * @param {string} shapejson - shapejson
   */
  get_tuzi_getCoordinateSystem(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getCoordinateSystem",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取预添加左侧类型,控规调用
   * @param {string} ssfl - ssfl
   * @param {string} wjbm - wjbm
   * @param {string} ssdw - ssdw
   */
  get_tuzi_getKgBeforeTuliValue(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getKgBeforeTuliValue",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取控规图例,控规调用,右侧下拉对应值
     
   */
  get_tuzi_getKgTuli(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getKgTuli",
      method: "get",
      params: params,
    });
  }

  /**
   * 首页某个控规的图例
   * @param {string} wjbm - wjbm
   */
  get_tuzi_getKgTuliByWjbm(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getKgTuliByWjbm",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取省市
   * @param {string} ssdw - 4028821a7a0d8182017ac30e3cf4050c
   */
  get_tuzi_getProvinceCity(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getProvinceCity",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取文件的图例,非控规调用
   * @param {string} wjbm - wjbm
   */
  get_tuzi_getTuliByWjbm(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getTuliByWjbm",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取分类
     
   */
  get_tuzi_getTuziTree(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getTuziTree",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取分类列表下的文件详情
   * @param {string} ssfl - ssfl
   * @param {string} wjbm - wjbm
   * @param {string} wjmc - wjmc
   */
  get_tuzi_getWjList(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getWjList",
      method: "get",
      params: params,
    });
  }

  /**
   * 文件上传进度
   * @param {string} wjbms - wjbms
   */
  get_tuzi_getWjscjd(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getWjscjd",
      method: "get",
      params: params,
    });
  }

  /**
   * 获取某个文件的所有数据,控规调用和非控规调用
   * @param {string} ssfl - ssfl
   * @param {string} wjbm - wjbm
   * @param {string} shape - geojson
   */
  get_tuzi_getYsList(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/getYsList",
      method: "get",
      params: params,
    });
  }

  /**
   * 图资矢量文件解析
   * @param {file} myfiles - 文件
   * @param {string} encode - 文件属性编码
   * @param {string} proj - proj4text
   * @param {string} epsg - epsg编号
   */
  post_tuzi_parseDxf(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/parseDxf",
      method: "post",
      params: params,
    });
  }

  /**
   * 修改分类
   * @param {string} id - id
   * @param {string} type - type
   */
  post_tuzi_updateFl(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/updateFl",
      method: "post",
      params: params,
    });
  }

  /**
   * 图资矢量文件更新
   * @param {string} ssfl - ssfl
   * @param {string} wjbm - wjbm
   * @param {string} wjmc - wjmc
   * @param {string} ssdw - ssdw
   * @param {string} wjscr - wjscr
   * @param {ref} wjzt - wjzt
   */
  post_tuzi_updateTuzi(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/updateTuzi",
      method: "post",
      params: params,
    });
  }

  /**
   * 图资矢量文件上传
   * @param {file} myfiles - 文件
   * @param {string} encode - 文件属性编码
   * @param {string} proj - proj4text
   * @param {string} epsg - epsg编号
   * @param {string} ssfl - 所属分类
   * @param {string} ssdw - 所属单位
   * @param {string} wjscr - 文件上传人
   * @param {string} userId - 文件上传人id
   * @param {ref} sfkg - 是否控规
   */
  post_tuzi_uploadTuzi(params) {
    return this.request({
      url: "/pwgh-ghsj-sc-tuzi/tuzi/uploadTuzi",
      method: "post",
      params: params,
    });
  }
}
